﻿using STHPMS1.ICore.I_Entity.Info;
using STHPMS1.ICore.I_Entity.Stmpms1;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;

namespace STHPMS1.ICore.I_BLL.Bus
{
    public interface IDr_LifecyclecostBill : IBll
    {
        void Save<T>(T entity) 
            where T:class ,IDr_Lifecyclecost;

        void Remove(IDr_Lifecyclecost entity);

        IEnumerable<T> Get<T>(Expression<Func<T, bool>> predicate, IPagingInfo info)
            where T : class, IDr_Lifecyclecost;

        /// <summary>
        /// 计算全寿命周期费用
        /// </summary>
        /// <param name="proj_Id"></param>
        void CalacFullLifeCycleCost(string proj_Id);
    }
}
